package com.demo.paypalmanagement.business;

import com.demo.paypalmanagement.model.entity.Products;
import com.demo.paypalmanagement.model.vo.OrderVO;
import com.demo.paypalmanagement.model.vo.PayVO;
import com.demo.paypalmanagement.model.vo.PaypalVO;
import com.demo.paypalmanagement.model.vo.ProductsVO;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.List;

/**
 * 复杂业务类
 */

public interface OrderBusinessService {

    /**
     * 下单
     * @param vo
     * @param
     * @return
     * @throws IOException
     */
    String payOrder(PayVO vo) throws IOException;

    Boolean confirmOrder(PaypalVO data) throws IOException;

    Boolean refund(OrderVO vo) throws IOException;
}
